getTableArray Query failed: ERROR: syntax error at or near "categoryLinks" LINE 1: ...' || page || '/' || subpage) like '%/scripts/' categoryLi... ^ select * from widgets where ((('/' || section || '/' || page || '/' || subpage) like '%/scripts/' categoryLinks[this.value] '%' AND (POSITION (section IN '/scripts/' categoryLinks[this.value] '') > 0) ) OR (('/' || section || '/' || page || '/' || subpage) like '/default/scripts/' categoryLinks[this.value] '%')) and (("class" = 'workspace' OR "class" = 'secondary-navigation') ) order by arrangeby;